let proxyObj={}
proxyObj['/']={
    //websocket
    ws:false,
    //目标地址
    // target:'http://localhost:8081',
    target:'http://43.138.62.46:8084',
    //发送请求头host会被设置为target
    changeOrigin:true,
    //不重写请求地址
    pathRewrite :{
        '^/':'/'
    }
}

module.exports ={
    devServer : {
        host:'localhost',
        port:8080,
        proxy:proxyObj
    }
}